From: Eli Zaretskii Date: Sat, 1 Mar 2025 14:04:52 +0000 (+0200) Subject: Fix 'M-q' in 'makefile-mode' X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~244 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=8481170eb296780b404caea587d17ab33a24aaeb;p=emacs.git Fix 'M-q' in 'makefile-mode' * lisp/progmodes/make-mode.el (makefile-mode-map): Bind 'M-q' to 'fill-paragraph', as 'prog-mode's default binding is not appropriate for Makefile's syntax. (Bug#76641) --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 37dc9a98506..3996284dd21 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -574,6 +574,7 @@ The function must satisfy this calling convention: "C-c RET C-p" #'makefile-makepp-mode "M-p" #'makefile-previous-dependency "M-n" #'makefile-next-dependency + "M-q" #'fill-paragraph "C-M-i" #'completion-at-point) (when makefile-electric-keys